import {
    requestJson,
  } from '@/services'

  export function setDevice(params) {
    params.msg_id = "1300"
    return requestJson(params)
  }

  export function setUrl(params) {
    params.msg_id = "1298"
    return requestJson(params)
  }
  
  export function setPicSwitch(params) {
    params.msg_id = "1360"
    return requestJson(params)
  }

  
  export function getDevice(params={}) {
    params.msg_id = "1301"
    return requestJson(params)
  }

  export function getUrl(params={}) {
    params.msg_id = "1299"
    return requestJson(params)
  }
  
  export function getPicSwitch(params={}) {
    params.msg_id = "1361"
    return requestJson(params)
  }